package com.linsen.erp.admin.mapper;

import com.linsen.erp.admin.entity.DeptEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linsen.erp.admin.provider.vo.DeptVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author zhaoyong
 * @since 2023-07-24
 */
@Mapper
public interface DeptMapper extends BaseMapper<DeptEntity> {
    /**
     * 查询全部部门列表
     * @return
     */
    List<DeptVO> getDeptList();
}
